package tech.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.entity.JobType;
import tech.aistar.mapper.JobTypeMapper;
import tech.aistar.service.IJobTypeService;

import java.util.List;

@Service
public class JobTypeServiceImpl implements IJobTypeService {
    //service调用mapper
    @Autowired
    private JobTypeMapper mapper;


    @Override
    public List<JobType> findAll() {
        //return mapper.findAll();

        List<JobType> list = mapper.findAll();

        return list;
    }
}
